//1. 安装 ejs
//2. 导入 ejs
const ejs = require('ejs');
const fs = require('fs');
//字符串
let star = '林俊杰';
let title = '背对背拥抱'
//声明字符串
let str = fs.readFileSync('./13_1_str.html').toString();
//3. 调用方法   渲染
let result = ejs.render(str, {star: star, title});

console.log(result);



